package com.example.hotelsystem.vo.room;

import com.baomidou.mybatisplus.annotation.*;
import com.example.hotelsystem.vo.comment.CommentViewVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
@Data
public class RoomViewVO {
    @ApiModelProperty(value = "房间id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "房间号")
    private Long number;

    @ApiModelProperty(value = "所属楼层")
    private Long floorId;

    @ApiModelProperty(value = "房间类型")
    private Long roomtypeId;

    @ApiModelProperty(value = "房间电话")
    private String roomTel;

    @ApiModelProperty(value = "所属城市id")
    private Long cityId;

    @ApiModelProperty(value = "所属酒店id")
    private Long hotelId;

    @ApiModelProperty(value = "状态(0:空房,1:已入住,2:待退房,3:待打扫)")
    private Integer status;

    @ApiModelProperty(value = "状态数据解释")
    private String statusText;

    @ApiModelProperty(value = "房间价格")
    private Double price;

    @ApiModelProperty(value = "房间类型名称")
    private String roomTypeName;

    @ApiModelProperty(value = "楼层名称")
    private String floorName;

    @ApiModelProperty(value = "楼层号")
    private Long floorNum;

    @ApiModelProperty(value = "酒店名称")
    private String hotelName;

    @ApiModelProperty(value = "所属城市名称")
    private String cityName;

    @ApiModelProperty(value = "平均星数")
    private double star;

    @ApiModelProperty(value = "图片List")
    private List<String> imageList;

    @ApiModelProperty( value = "评论列表")
    private List<CommentViewVO> commentList;
}
